package org.adorsys.aderp.jpa.impl;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;

import org.springframework.util.ReflectionUtils.FieldCallback;

public class AderpFieldCallback implements FieldCallback {
	
	private final List<Field> fields = new ArrayList<Field>();

	@Override
	public void doWith(Field field) throws IllegalArgumentException,
			IllegalAccessException {
		fields.add(field);
	}

	public List<Field> getFields() {
		return fields;
	}
	
	

}
